#top#
<script type="text/javascript">
	// 다음 화면 으로 이동 (page5로)
	function doNext() {
		document.frm.action = "{=baseClass}/Page5";
		document.frm.submit();
	}
</script>
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<form name="frm" method="post">
	<? for ($i=0; $i<sizeof($this->comp_list); $i++) { ?>
		<input type="hidden" name="comp_list[]" value="<?=$this->comp_list[$i]?>" />
	<? } ?>
	<? for ($i=0; $i<sizeof($this->ctrl_obj); $i++) { ?>
		<input type="hidden" name="ctrl_obj[]" value="<?=$this->ctrl_obj[$i]?>" />
	<? } ?>
	
<!-- start content -->
<div id="content">
	<!--  start page-heading -->
	<div id="page-heading">
		<h1>4. 세부 Compliance</h1>
		<br/>
        <h2>업종: 정보통신</h2>
        <h2>통제영역: </h2>
	</div>
	<!-- end page-heading -->

	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="{=baseUrl}/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="{=baseUrl}/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
		
			<!--  start table-content  -->
			<div id="table-content">
			<!-- start left box -->
			<div style="float:left;">
				<?=var_dump($this->ctrl_obj)?><br/>
				<?=var_dump($this->comp_list)?><br/>
				<?=var_dump($this->kd_detail2)?><br/>
				

				<? for($i=1; $i<sizeof($this->kd_detail2)+1; $i++) { ?>
					<table border="1" width= "100%" id="TABLE1">
					  <tr align="right" valign="center">
						<td align="center" bgcolor="yellow">
							<span style="font-size: 16px">통제내용 및 목적</span>
						</td>
						<td>
							<span style="font-size: 12px"><b><u><?=$this->kd_detail2[$i][0]['div_3_id']?> <?=$this->kd_detail2[$i][0]['ctrl_title']?></u></b></span><br/>
							<span style="font-size: 12px"><?=$this->kd_detail2[$i][0]['ctrl_content']?></span>
						</td>
					  </tr>
					</table>
					<p>&nbsp;</p>
					<p>&nbsp;</p>
					<div class="clear"></div>

					<p>&nbsp;</p>
					<p>&nbsp;</p>
					<p>&nbsp;</p>


					<? for($j=0; $j<sizeof($this->kd_detail2[$i]); $j++) { ?>
					<table border="1" width= "100%" id="TABLE2">  
						<tr align="right" valign="center">
							<td align="center" bgcolor="yellow">
								<span style="font-size: 16px">관련 Compliance</span>
							</td>
							<td align="center">
								<span style="font-size: 12px"><b><u><?=$this->kd_detail2[$i][$j]['object']?></u></b></span></br>
								<span style="font-size: 12px"><?=$this->kd_detail2[$i][$j]['detail']?></span>
							</td>
						</tr>
					</table>
					<? } ?>
				<? } ?>

			</div>
			<!-- end left box -->

			</div>
			<!--  end table-content  -->
			<div class="clear"></div>
			<input type="button" value="Next" style="width:80px; height:24px; float:right; position:absolute; right:30px;" onclick="javascript:doNext();" />
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
</form>
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>
  
#footer#
